package net.stuffrepos.bricknetcenter.database;

import java.util.List;

/**
 *
 * @author Eduardo H. Bogoni <eduardobogoni@gmail.com>
 */
public interface LazyResultSet<T>  {

    public int getTotalSize() throws Exception;

    public T getElementAt(int index) throws Exception;

    public List<T> fetchAll() throws Exception;
}
